FxCop Metrics |
FxCop Metrics |
Runs FxCop Metrics analysis tool to calculate code metrics for your .NET code.
FxCop Metrics 10.0 has to be downloaded and installed separately and can be retrieved from here:
http://www.microsoft.com/en-us/download/details.aspx?id=38196
FxCop Metrics is a separate tool which is installed into the same directory as FxCop. If FxCop Metrics is installed SPCAF uses the command line tool Metrics.exe. All assemblies of WSP packages are then analyzed with FxCop Metrics and the results are integrated into the SPCAF reports.
The integration of FxCop Metrics into SPCAF can be adjusted by several configuration parameters. The parameters allow changing for instance the path to FxCop Metrics. For a list of all configurable parameters refer to the SPCAF rule which integrates FxCop Metrics.
Rule | Description | Type | Severity |
---|---|---|---|
FXM360201: Assembly should contain no problems which are detected with Microsoft FxCopMetrics | The assembly will be checked with Microsoft FxCopMetrics for potential problems (if the tool is installed) | AssemblyFileReference | Error |
Copyright © 2013 RENCORE AB. All Rights Reserved
Disclaimer: The views and opinions expressed in this documentation and in SPCAF are those of the creators and do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. All trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners. SharePoint Code Analysis Framework, Version 4.5.2.7855, see www.spcaf.com for more information |